<template>
    <div class="notice-popup" @touchmove.prevent>
        <div class="wraper">
            <van-popup v-model="show">
                <div class="body column">
                    <div class="content">敬请期待~</div>
                    <div class="actions">
                        <div class="confirm" @click="close">我知道了</div>
                    </div>
                </div>
            </van-popup>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        value: {
            type: Boolean,
            default: true
        }
    },
    data() {
        return {
            show: false
        };
    },

    methods: {
        close() {
            this.show = false;
            this.$emit("close");
        },
        open() {
            this.show = true;
        }
    }
};
</script>


<style lang="less" scoped>
.notice-popup {
    .wraper {
        .van-popup {
            border-radius: 10px;
        }
        .body {
            box-sizing: border-box;
            padding: 0 30px;
            width: 300px;
            align-items: center;
            justify-content: space-between;

            .content {
                padding: 40px 0;
                font-size: 32px;
            }

            .actions {
                color: #ffc031;
                padding: 30px 0;
                font-size: 30px;
                font-weight: 600;
            }
        }
    }
}
</style>